package net.wicp.tams.common.binlog.self.replication.up.command;

import net.wicp.tams.common.binlog.self.constant.Command;
import net.wicp.tams.common.binlog.self.replication.AbsPacketWrite;

public abstract class AbsCommand extends AbsPacketWrite {
	private static final long serialVersionUID = 1L;
	protected final Command command;

	protected AbsCommand(Command command) {
		this.command = command;
		super.buffSize = 1000;
		super.sequence = 0;
	}

	public Command getCommand() {
		return command;
	}

}
